﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using Premiere.DTO;
using Premiere.Framework;

namespace PremiereMX
{
    public interface IUserControlOpeningStock : IUserControlBase
    {
        string Code { get; set; }
        DateTime TransactionDate { get; set; }
        WarehouseDTO Warehouse { get; set; }
        string Notes { get; set; }
        EventStatus EventStatus { get; set; }
        decimal TotalAllAmount { get; set; }
        CurrencyDTO TransactionCurrency { get; set; }

        void ClearError();
        void SetToReadOnly(bool readOnly);
        void SetIsAutoNumber(bool auto);
        //string Named { get; set; }
        DateTime LastUpdate { set; }
        string ComputerName { set; }
        string UserUpdateBy { set; }
        void ShowMessage(string mess);
        void UpdateList(IList list);
        IList GetValidItems();
        void AddItem(OpeningStockItemDTO item);
        void ClearRecordList();
    }
}
